package com.example.jedis.client.protocol.constant;

public class RedisProtocolConstant {
    public static final byte REQUEST_DOLLAR_BYTE = '$';
    public static final byte REQUEST_ASTERISK_BYTE = '*';
    public static final byte PLUS_BYTE = '+';
    public static final byte MINUS_BYTE = '-';
    public static final byte COLON_BYTE = ':';
    public static final String CHARSET = "UTF-8";

    public static final byte APPLY_ERROR = '-';//错误回复
    public static final byte APPLY_STATE = '+';//状态回复
    public static final byte APPLY_BULK = '$'; //批量回复 (数据回复)
    public static final byte APPLY_INTEGER = ':';//整数回复
    public static final int STATE_APPLY_MAX_SIZE = 1024 * 1204;
    public static final int ERROR_APPLY_MAX_SIZE = 1024 * 1204;
    public static final byte CR_BYPE = '\r';
    public static final byte LF_BYTE = '\n';
    public static final byte INTEGER_DECIMAL_MAX_LENGTH = 10;


    public static final String   APPLY_ERROR_MOVE="MOVE";


}
